package com.example.springevent.event;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 基于PayloadApplicationEvent的事件 - 不继承ApplicationEvent
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PayloadEvent {
    private String eventName;
    private String payload;
    private long timestamp;
}